projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f685ce3
)
Don't forget to initialize a variable
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 27 Jun 2011 20:46:33 +0000
(16:46 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 27 Jun 2011 20:47:59 +0000
(16:47 -0400)
Pointed out by clang in bug 653333.
gtk/gtktoolpalette.c
patch
|
blob
|
history
diff --git
a/gtk/gtktoolpalette.c
b/gtk/gtktoolpalette.c
index e0084fab125caff863913c275be5bd291c290042..f3ae4887ba38abd913789e173dd473bf68cc551b 100644
(file)
--- a/
gtk/gtktoolpalette.c
+++ b/
gtk/gtktoolpalette.c
@@
-526,6
+526,8
@@
gtk_tool_palette_size_allocate (GtkWidget *widget,
GtkToolItemGroupInfo *group = g_ptr_array_index (palette->priv->groups, i);
gint size;
+ group_sizes[i] = 0;
+
if (!group->widget)
continue;